package cn.wolfcode.shop.cloud.figin;

import cn.wolfcode.shop.cloud.common.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "member-server",fallback = UserFeignHystrix.class)
public interface UserFeignApi {
    @RequestMapping("refreshToken")
    Result<Boolean> refreshToken(@RequestParam("token") String token);
}
